import os

from celery import Celery

profile = os.environ.get('APP_PROFILE', 'develop')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'zfapple.settings.%s' % profile)

app = Celery('celery_task', broker='redis://192.168.3.19:6379/2')
app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks()
